import 'package:flutter/material.dart';
import './appbar_view_content.dart';

class PlaceholderWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
      length: 4,
      child: Scaffold(
        appBar: AppBar(
          title: TabBar(
            tabs: <Widget>[
              Column(
                children: <Widget>[
                  Icon(Icons.account_balance_wallet),
                  Text('wallet')
                ],
              ),
              Column(
                children: <Widget>[
                  Icon(Icons.print),
                  Text('print')
                ],
              ),
              Column(
                children: <Widget>[
                  Icon(Icons.album),
                  Text('album')
                ],
              ),
              Column(
                children: <Widget>[
                  Icon(Icons.add_location),
                  Text('location')
                ],
              )
            ],
          )
        ),
        body: TabBarView(
          children: <Widget>[
            AppBarListTile(),
            AppBar1ListTile(),
            AppBar2ListTile(),
            AppBar3ListTile()
          ],
        ),
      ),
    );
  }
}


class Placeholder2Widget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Text('2Sheet'),
    );
  }
}

class Placeholder3Widget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Text('3Sheet'),
    );
  }
}

class Placeholder4Widget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Text('4Sheet'),
    );
  }
}